package com.kaver.sso.web;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;

/**  
* @ClassName: SsoApplication  
* @Description: 启动
* @author kaver  
* @date Jul 23, 2021 5:04:38 PM  
*    
*/
@ComponentScan("com.kaver.sso")
@MapperScan("com.kaver.sso.dao.mapper")
@EnableAsync
@EnableCaching
@EnableDiscoveryClient
@SpringBootApplication
@EnableConfigurationProperties
public class SsoApplication {
    public static void main(String[] args) {
        SpringApplication.run(SsoApplication.class, args);
    }
}
